package ssm.dao;

public class YktCarinfo {
    private Integer id;

    private String cph;

    private String syrxm;

    private String gh;

    private Teacher ownerinfo;

    private String carstatus;

    private Integer enginnum;

    private String enginecapacity;

    private String ratedpassenger;

    private String carbrand;

    private String carcolor;

    private String platetype;

    private String cartype;

    private String licensetype;

    private String platecolor;

    private String license;

    private String belong;

    public String getBelong() {
        return belong;
    }

    public void setBelong(String belong) {
        this.belong = belong;
    }

    @Override

    public String toString() {
        return "YktCarinfo{" +
                "id=" + id +
                ", cph='" + cph + '\'' +
                ", syrxm='" + syrxm + '\'' +
                ", gh='" + gh + '\'' +
                ", ownerinfo=" + ownerinfo +
                ", carstatus='" + carstatus + '\'' +
                ", enginnum=" + enginnum +
                ", enginecapacity='" + enginecapacity + '\'' +
                ", ratedpassenger='" + ratedpassenger + '\'' +
                ", carbrand='" + carbrand + '\'' +
                ", carcolor='" + carcolor + '\'' +
                ", platetype='" + platetype + '\'' +
                ", cartype='" + cartype + '\'' +
                ", licensetype='" + licensetype + '\'' +
                ", platecolor='" + platecolor + '\'' +
                ", license='" + license + '\'' +
                ", belong='" + belong + '\'' +
                ", imgurl='" + imgurl + '\'' +
                '}';
    }

    private String imgurl;


    public Teacher getOwnerinfo() {
        return ownerinfo ;
    }

    public void setOwnerinfo(Teacher ownerinfo) {
        this.ownerinfo = ownerinfo;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCph() {
        return cph;
    }

    public void setCph(String cph) {
        this.cph = cph == null ? null : cph.trim();
    }

    public String getSyrxm() {
        return syrxm;
    }

    public void setSyrxm(String syrxm) {
        this.syrxm = syrxm == null ? null : syrxm.trim();
    }

    public String getGh() {
        return gh;
    }

    public void setGh(String gh) {
        this.gh = gh == null ? null : gh.trim();
    }

    public String getCarstatus() {
        return carstatus;
    }

    public void setCarstatus(String carstatus) {
        this.carstatus = carstatus == null ? null : carstatus.trim();
    }

    public Integer getEnginnum() {
        return enginnum;
    }

    public void setEnginnum(Integer enginnum) {
        this.enginnum = enginnum;
    }

    public String getEnginecapacity() {
        return enginecapacity;
    }

    public void setEnginecapacity(String enginecapacity) {
        this.enginecapacity = enginecapacity == null ? null : enginecapacity.trim();
    }

    public String getRatedpassenger() {
        return ratedpassenger;
    }

    public void setRatedpassenger(String ratedpassenger) {
        this.ratedpassenger = ratedpassenger == null ? null : ratedpassenger.trim();
    }

    public String getCarbrand() {
        return carbrand;
    }

    public void setCarbrand(String carbrand) {
        this.carbrand = carbrand == null ? null : carbrand.trim();
    }

    public String getCarcolor() {
        return carcolor;
    }

    public void setCarcolor(String carcolor) {
        this.carcolor = carcolor == null ? null : carcolor.trim();
    }

    public String getPlatetype() {
        return platetype;
    }

    public void setPlatetype(String platetype) {
        this.platetype = platetype == null ? null : platetype.trim();
    }

    public String getCartype() {
        return cartype;
    }

    public void setCartype(String cartype) {
        this.cartype = cartype == null ? null : cartype.trim();
    }

    public String getLicensetype() {
        return licensetype;
    }

    public void setLicensetype(String licensetype) {
        this.licensetype = licensetype == null ? null : licensetype.trim();
    }

    public String getPlatecolor() {
        return platecolor;
    }

    public void setPlatecolor(String platecolor) {
        this.platecolor = platecolor == null ? null : platecolor.trim();
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license == null ? null : license.trim();
    }

    public String getImgurl() {
        return imgurl;
    }

    public void setImgurl(String imgurl) {
        this.imgurl = imgurl == null ? null : imgurl.trim();
    }
}